﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.XmlEditor;
using System.Collections;
using System.Xml.Linq;

namespace CodeCounsel.SharePoint.RibbonDesigner.Model
{
    [XName(Name="Elements", Namespace=Namespaces.CommandUIText)]
    public class Elements
        : DomainElement
    {
        public IEnumerable<CustomAction> CustomActions
        {
            get { return Children.OfType<CustomAction>(); }
        }

        public Elements(XElement dataModel, DomainModelSource source)
            : base(dataModel,source)
        {
        }

        public Elements()
        {
        }
    }
}
